/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package STUDENT.NGUYENSANG.OOPs.munsach;
//Chua Hoan Chinh;
// Chua in MH;
/**2
 *
 * @author NSPDL
 */
import java.util.Scanner;
public class MunSach {

    /**
     * @param args the command line arguments
     */
    static Scanner input=new Scanner(System.in);
    public static void main(String[] args) {
        // TODO code application logic here
        NhapBanDoc NBD=new NhapBanDoc();
        NhapSach NS=new NhapSach();
        NhapBangQuanLi NBQL=new NhapBangQuanLi();
        sorBQL SBQL=new sorBQL();
        int ok=0;
        System.out.println("Nhap thoa tac  ma ban muon.");
        System.out.println("1. Cau a\n"
                        + "2. Cau b\n"
                        + "3. Cau c\n"
                        + "4. Sort \n");
        ok=input.nextInt();
        switch(ok)
        {
            case 1:
                NS.AddSach();
                //NS.show();
            case 2: 
                NBD.themBanDoc();
                //NBD.show();
            case 3:
               NBQL.AddBQL();
               //NBQL.show();
            case 4:
                SBQL.sortByName();
                SBQL.sortByNum();
        }
    }
}
